package asteroids.model.programs.statements;

import asteroids.model.programs.expressions.Expression;

public class Print extends Statement {

	public Print(int line, int column, Expression expr) {
		super(line, column);
		this.expr = expr;
	}
	
	public Expression getExpr() {
		return expr;
	}
	
	private final Expression expr;
	
	public void accept(StatementRunner sv) {
		sv.run(this);
	}

}
